package Service;

import Entity.Project;

import java.util.List;

public interface IProjectService {

    int deleteByPrimaryKey(Long id);

    int insert(Project record);

    int insertSelective(Project record);

    Project selectByPrimaryKey(Long id);

    List<Project> selectByPrimaryKeyOffset(int start, int offset);

    int updateByPrimaryKeySelective(Project record);

    int updateByPrimaryKeyWithBLOBs(Project record);

    int updateByPrimaryKey(Project record);

    List<Project> getAllProjectTitle();

    List<Project> searchProject(String index);

    int getAllProjectCount();

    String selectMaxProjectNum();

    List<String> getProjectByType(String type);
}
